package com.bookcode.entity;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.hateoas.ResourceSupport;

//
public class Greet extends ResourceSupport {
    private final String content;
    @JsonCreator
    public Greet(@JsonProperty("content") String content) {
        this.content = content;
    }
    public String getContent() {
        return content;
    }
}
